package com.wish.housing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 房源-图片表
 * </p>
 *
 * @author gaoluwen
 * @since 2022-03-29
 */
@Getter
@Setter
@TableName("tb_relation_room_picture")
public class TbRelationRoomPicture implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String roomId;

    private Integer pictureId;

    private String pictureUrl;

    public TbRelationRoomPicture(String roomId, String pictureUrl) {
        this.roomId = roomId;
        this.pictureUrl = pictureUrl;
    }
}
